home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0294feb.archive / 000109_donews!crash!delphi.com!NES_Mon, 28 Feb 94 01:33:01 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  13KB

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1xj7@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:01 PST
  3. Received: from crash by donews.cts.com with uucp
  4.     (Smail3.1.28.1 #18) id m0palbP-0001PdC; Sun, 27 Feb 94 05:32 PST
  5. Received: from bos1a.delphi.com by crash.cts.com with smtp
  6.     (Smail3.1.28.1 #18) id m0palFI-0000nwC; Sun, 27 Feb 94 05:09 PST
  7. Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
  8.  <01H9DG1XGK6Y8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:09:14 EST
  9. Date: Sun, 27 Feb 1994 08:09:14 -0500 (EST)
  10. Message-id: <01H9DG1XGK708X1SQ5@delphi.com>
  11. X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
  12. MIME-version: 1.0
  13. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  14. Content-transfer-encoding: 7BIT
  15. From: NES@delphi.com
  16. To: AmigaE@bkhouse.cts.com
  17. Subject: Re: Sound in e.
  18.  
  19. Robert,  why don't you share your code on using the MED library with
  20. us?  I think that would help alot of us out....
  21. Eric <nes@delphi.com>
  22. From donews!crash!delphi.com!NES Mon, 28 Feb 94 01:33:14 PST
  23. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  24.       id <1xjf@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:14 PST
  25. Received: from crash by donews.cts.com with uucp
  26.     (Smail3.1.28.1 #18) id m0palbR-0001wbC; Sun, 27 Feb 94 05:32 PST
  27. Received: from bos2a.delphi.com by crash.cts.com with smtp
  28.     (Smail3.1.28.1 #18) id m0palKi-0000VLC; Sun, 27 Feb 94 05:14 PST
  29. Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
  30.  <01H9DG6G570G8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:14:46 EST
  31. Date: Sun, 27 Feb 1994 08:14:46 -0500 (EST)
  32. Message-id: <01H9DG6G570I8X1SQ5@delphi.com>
  33. X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
  34. MIME-version: 1.0
  35. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  36. Content-transfer-encoding: 7BIT
  37. From: NES@delphi.com
  38. To: AmigaE@bkhouse.cts.com
  39. Subject: Re: More questons about Gadtools.
  40.  
  41. Gee,  I did not think my queston would start a war....
  42. You know all I ask was a simple queston.  And what I got was a runaround on it...
  43. We should be sharing code here not flaming each other....
  44. BTW  I was gone a week and had over a 100 messages in the old mail box...
  45. Eric (NES@DELPHI.COM)
  46.  
  47. Chow...
  48. From donews!crash!delphi.com!NES Mon, 28 Feb 94 01:33:22 PST
  49. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  50.       id <1xjk@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:22 PST
  51. Received: from crash by donews.cts.com with uucp
  52.     (Smail3.1.28.1 #18) id m0palbS-0001mmC; Sun, 27 Feb 94 05:32 PST
  53. Received: from bos1a.delphi.com by crash.cts.com with smtp
  54.     (Smail3.1.28.1 #18) id m0palO4-0000EoC; Sun, 27 Feb 94 05:18 PST
  55. Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
  56.  <01H9DGCBHGJA8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:18:13 EST
  57. Date: Sun, 27 Feb 1994 08:18:13 -0500 (EST)
  58. Message-id: <01H9DGCBHGJC8X1SQ5@delphi.com>
  59. X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
  60. MIME-version: 1.0
  61. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  62. Content-transfer-encoding: 7BIT
  63. From: NES@delphi.com
  64. To: AmigaE@bkhouse.cts.com
  65. Subject: Re: Vector.Library
  66.  
  67. Donald, 
  68.   I have been working off and on with the vector.library.
  69. But have not got it working.  I have the vector lib modules in E.
  70. But not a working program. I will post it as soon as I get it working
  71. Eric
  72. From donews!crash!freenet.uwm.edu!gmandic Mon, 28 Feb 94 01:35:12 PST
  73. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  74.       id <1xls@bkhouse.cts.com>; Mon, 28 Feb 94 01:35:12 PST
  75. Received: from crash by donews.cts.com with uucp
  76.     (Smail3.1.28.1 #18) id m0paqmf-0001vvC; Sun, 27 Feb 94 11:04 PST
  77. Received: from freenet.uwm.edu by crash.cts.com with smtp
  78.     (Smail3.1.28.1 #18) id m0paqb8-0000MkC; Sun, 27 Feb 94 10:52 PST
  79. Received: by freenet.uwm.edu (5.65/DEC-Ultrix/4.3)
  80.     id AA03766; Sun, 27 Feb 1994 12:52:11 -0600
  81. Date: Sun, 27 Feb 1994 12:52:11 -0600
  82. Message-Id: <9402271852.AA03766@freenet.uwm.edu>
  83. From: gmandic@freenet.uwm.edu (Gojko Mandic)
  84. To: amigae@bkhouse.cts.com
  85. Subject: E Mailing List Request
  86.  
  87. SUBSCRIBE AmigaE
  88. FAQ AmigaE
  89. INDEX
  90. From donews!crash!nkraft Mon, 28 Feb 94 01:35:37 PST
  91. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  92.       id <1xmb@bkhouse.cts.com>; Mon, 28 Feb 94 01:35:37 PST
  93. Received: from crash by donews.cts.com with uucp
  94.     (Smail3.1.28.1 #18) id m0pata2-0002TrC; Sun, 27 Feb 94 14:03 PST
  95. Received: by crash.cts.com (Smail3.1.28.1 #18)
  96.     id m0patVQ-0000FiC; Sun, 27 Feb 94 13:58 PST
  97. Message-Id: <m0patVQ-0000FiC@crash.cts.com>
  98. Date: Sun, 27 Feb 1994 13:58:32 -0800 (PST)
  99. In-Reply-To: <Pine.3.89.9402261241.A2221-0100000@blue.csi.cam.ac.uk> from "Dave Higginson" at Feb 26, 94 12:18:18 pm
  100. X-Mailer: ELM [version 2.4 PL23]
  101. Content-Type: text
  102. Content-Length: 1025
  103. From: "Norman Kraft" <nkraft@crash.cts.com>
  104. To: AmigaE@bkhouse.cts.com
  105. Subject: Re: Setting up a usenet E group
  106.  
  107.  
  108. > I think the ability to read this list from a newsreader would be good, 
  109. > because I hate having to separate my personal mail from list mail - my 
  110. > mail program should do it for me, but I don't know how to get it to.
  111.  
  112. One answer to this, for those that can do it, is to set up another
  113. email address for AmigaE and hvae the mail sent to that address. A lot
  114. of users here are doing this I've noticed, with all the AmigaE-List@...
  115. addresses I have in the subscriber list.
  116.  
  117. This may not solve your problem, Dave, but I thought I'd suggest it.
  118.  
  119. Norm.
  120.  
  121. -- 
  122.  
  123. ----------------------------------------------------------------------------
  124. Norman Kraft                            INET  : nkraft@ucsd.edu (work)
  125. Peptide-T Clinical Trial                or try: nkraft@bkhouse.cts.com (home)
  126. HIV Neurobehavioral Research Center     UUCP  : ucsd!nkraft
  127. Dept of Psychiatry, School of Medicine  
  128. University of California, San Diego          Usual disclaimers...
  129. ----------------------------------------------------------------------------
  130. From donews!crash!hull.ac.uk!electronic-engineering.hull.ac.uk!M.C.Askin Mon, 28 Feb 94 01:36:11 PST
  131. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  132.       id <1xn1@bkhouse.cts.com>; Mon, 28 Feb 94 01:36:11 PST
  133. Received: from crash by donews.cts.com with uucp
  134.     (Smail3.1.28.1 #18) id m0pav1k-0002TKC; Sun, 27 Feb 94 15:36 PST
  135. Received: from sun2.nsfnet-relay.ac.uk by crash.cts.com with smtp
  136.     (Smail3.1.28.1 #18) id m0pauxx-0000y8C; Sun, 27 Feb 94 15:32 PST
  137. Received: from adelphi-bf0.ucc.hull.ac.uk by gilbert.ucc.hull.ac.uk 
  138.           with SMTP (PP) id <09933-0@gilbert.ucc.hull.ac.uk>;
  139.           Sun, 27 Feb 1994 23:13:05 +0000
  140. Received: from humus.computer-centre.hull.ac.uk 
  141.           by humus.computer-centre.hull.ac.uk with SMTP (PP) 
  142.           id <12955-0@humus.computer-centre.hull.ac.uk>;
  143.           Sun, 27 Feb 1994 23:32:58 +0000
  144. Via: uk.ac.hull; Sun, 27 Feb 1994 23:31:42 +0000
  145. Message-Id: <8665.9402272331@humus.hull.ac.uk>
  146. Date: Sun, 27 Feb 1994 23:31:51 +0000 (GMT)
  147. X-Mailer: ELM [version 2.4 PL21]
  148. Content-Type: text
  149. Content-Length: 5868
  150. From: "M.C.Askin" <M.C.Askin@electronic-engineering.hull.ac.uk>
  151. To: amigae@bkhouse.cts.com
  152. Subject: 1 or 2 beginner questions
  153.  
  154. Hello everybody, I'm new to E,  and  this  list. I've been reading the E
  155. list archives on Aminet which have been very helpful, but I hope you can
  156. help me with some questions (problems)  I've  got. I only came by AmigaE
  157. 26 days ago, and already  programming  half  decent programs. I'm taking
  158. electronic engineering, and one of the leture courses was programming in
  159. C. Since this was on PC's I  have  little  idea  of how to use the Amiga
  160. libraries apart from what I've picked  up  along the way. I've looked at
  161. the examples, and with  the  help  of  the  GFA  Basic  book (it has 1.3
  162. library names, and a short  blurb  about  each function), and the AmigaE
  163. list I've managed  to  write  several  simple  DOS  utils  and  a simple
  164. intuition thing based on SpriteExample.e,  but  I don't use sprites, and
  165. it's not an example! :-)
  166.  
  167. Heres the questions..(I've been saving them up)
  168.  
  169. 1. What is the best way to clear a window. I've used ClearScreen, but it
  170. crashes the machine a treat once you  start moving screens about. In GFA
  171. Basic I used:
  172.  
  173. CLEARW #1
  174.  
  175. 2. I've tried to make EModules  from the Medplayer progmas, and include,
  176. but I got an error from Pragma2Module,  and OctaMed does not come with a
  177. .i file, but a .h file (C definitions). Pragma2Module the output:
  178.  
  179. Amiga E Pragma2Module by $#%! in 1992
  180. converting: "libproto.h"
  181. Base will be: medplayerbase
  182. Correct name of this library (with the ".library" or ".device"):
  183.  >medplayer.library
  184. found 1 empty or private functions before -66.
  185. Pragma file format error!
  186.  
  187. but does seem to make an EModule  which looks similar to the others with
  188. the correct names. The .h is needed in the examples, but do *I* need it?
  189. How can I convert it to a .i?
  190.  
  191. 3. I'd like to get the full path of the current directory (from the root
  192. directory), Newlist (a dir util program)  does this (even CD does!), but
  193. D (Wouter's directory program) doesn't.  Also  is  there a better way of
  194. getting the disk name of a specified directory/device than :
  195.  
  196. /* getdevname : Gets the root directory name, i.e. the volume name */
  197. /* specified in the string 'devname', and places the actual volume */
  198. /* name back in 'devname' with the approiate ':' on the end of it  */
  199.  
  200. -----------8<----------------8<-----------------------------
  201. PROC getdevname(devname)
  202.   DEF lock,fib:fileinfoblock
  203.   IF lock:=Lock(devname,SHARED_LOCK) /* Get a  lock  on  the root dir of
  204. the disk */
  205.     IF Examine(lock,fib)            /* Get the information */
  206.       StrCopy(devname,fib.filename,ALL) /* Copy  filename  to the string
  207. */
  208.       StrAdd(devname,':',ALL) /* and add a ':' on the end */
  209.     ELSE
  210.       WriteF('Could not get lock on root directory\n')
  211.     ENDIF
  212.     UnLock(lock)
  213.   ENDIF
  214. ENDPOC
  215. -----------8<----------------8<-----------------------------
  216.  
  217. and if the user asks  for  bla:  and  it's  not mounted the standard req
  218. comes up, anyway of cancelling this?  Sometimes something happens to the
  219. system and it stops the  requesters  as  if  the  user clicked on cancel
  220. could I make it  do  this?, or  better  still... How do I get a list  of
  221. mounted devices?
  222.  
  223. 4. I've written a  very  simple  direct  to  disk  sampler  (goes into a
  224. buffer, and when it's full is  then  saved  to  disk), however I want to
  225. view the samples graphically (I  don't  know  enough  to be able to hear
  226. them yet). The  main  problem  is  that  once  I  subtract  129 from the
  227. incoming numbers (at addr $bfe105 - bad programming I know - I don't even
  228. setup the port to receive mode) to get the needed positive/negative numbers
  229. for IFF samples and save them to disk, I can't do the opposite (i.e. Add
  230. 129) to get the 0-255  (or  -128  to  129)  range  of numbers that I can
  231. easily plot as they are now  positive  numbers  from  0 to 255 in an odd
  232. order, i.e. Upside down for half of  the numbers. Someone out there must
  233. know what I mean..could they help?  I didn't even realise until recently
  234. how the samples where held. I  wrote  elabrate procedures to convert the
  235. 0-256 number from my  sampler  to  the  values  needed  for IFF using IF
  236. statements!!!
  237.  
  238. 5. Why does this code produce  a  'recoverable  error' when run with the
  239. following line:
  240. 1.> ReadArgsTest dest
  241. I know that it isn't the corrct usage of args but it shouldn't mess up.
  242.  
  243. ---------8<-------------8<-----------
  244. DEF args:PTR TO LONG
  245. PROC main() HANDLE
  246.    DEF rdargs
  247.    args:=[0]
  248.    IF rdargs:=ReadArgs('DEST=DESTINATION/K',args,NIL)=0
  249.    ENDIF
  250.    Raise(0)
  251. EXCEPT
  252.    IF rdargs THEN FreeArgs(rdargs) /* Clean up args if used */
  253. ENDPROC
  254. ---------8<-------------8<-----------
  255.  
  256. 6. Last question (told you I've been  saving  them  up), how do I draw a
  257. filled boxed, in GFA Basic I would do:
  258.  
  259. COLOR col                 ! Set the colour
  260. PBOX x,y,dx,dy            ! Draw a filled box with current patten set
  261.  
  262. I would be eternally grateful if some one could answer these (relativily
  263. simple, compared to what you  normally  talk about) questions. Thanks in
  264. advance,
  265.  
  266. Myk. (I pronouce it Mike, but  stricly  speaking it should be pronounced
  267. Mick)
  268.  
  269. ps. My computer setup : I  have  a  standard A1200 (OS3) with 170Meg HD,
  270. and Trilogic stereo sampler, and a  2400  baud modem. I don't mind using
  271. OS2 specific library calls (sorry 1.3  users),  so  don't go out of your
  272. way to make the answers work on any machine if you can't be bothered to.
  273. Keep a watch on Aminet (dev/e) for some of my programs (once I've worked
  274. out how to upload).
  275.  
  276. ------------------------------------------------------------------------
  277.  
  278. Michael Askin : E Mail address - Look at the Mail Header - Its something
  279. like: m.c.askin@electronic-engineering.hull.ac.uk
  280.  
  281. ------------------------------------------------------------------------
  282.  
  283. My favorite movie/television quotes:
  284.   'Exterminate! Exterminate! Exterminate!'
  285.          - A Dalek from Dr Who
  286.  
  287. Homemade tag lines inc. 5 1994 Michael Askin  :-)
  288.  
  289. ========================================================================